@import "01_colors.scss";

.pre-tagline {
    width: 100%;
    max-width: 1440px;
    height: 567px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.tagline {
    width: 100%;
    height: 630px;
    background: $color-for-background;
    border-radius: 0 0 0 176px;
    padding-top: 48px;
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    min-width: 325px;
}

.tagline-text-and-svg {
    width: 100%;
    max-width: 1440px;
    height: 500px;
}

.tagline-h1 {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 112px;
    line-height: 124px;
    // font-size: 7.8vw;
    // line-height: 8.6vw;
    text-transform: uppercase;
    color: $color-for-links;
    padding-left: 96px;
    margin-top: 0;
    margin-bottom: 0;
    height: 124px;
    width: 1170px;
}

.opacity-0-styling {
    opacity: 0;
    transition: opacity 0.5s;
}

.opacity-1-styling {
    opacity: 1;
}

.tagline-svg {
    position: relative;
    float: right;
    bottom: 196px;
    margin-right: 97px;
}

.tagline-svg-zavitushka {
    position: inherit;
    margin-top: -35px;
    width: 181px;
    height: 189px;
    display: block;
}

.tagline-svg-zvezdochka {
    position: inherit;
    margin-left: 175px;
    width: 90px;
    height: 90px;
    display: block;
}

.tagline-social-buttons {
    display: flex;
    width: 195px;
    height: 44px;
    justify-content: space-between;
    align-items: center;
    margin-right: 108px;
    margin-bottom: 7px;
}

.tagline-social-button {
    width: 34px;
    height: 34px;
}

.tagline-social-buttons-blue-line {
    height: 44px;
    width: 1px;
    background: $color-one;
}

.background-for-borders-tagline-and-who-we-are {
    position: relative;
    width: 100%;
    height: 360px;
    background: $color-two;
    transform: translateY(-50%);
    z-index: -100;
    box-sizing: border-box;
    max-width: 1440px;
    min-width: 325px;
    margin: 0 auto -360px auto;
  }

@media (min-width: 1441px) {
    .tagline-h1 {
        font-size: 112px;
        line-height: 124px;
    }
}

@media (max-width: 1281px) {
    .opacity-0-styling {
        margin-right: -5px;
    }
}

@media (max-width: 1280px) {
    .tagline {
        height: 534px;
    }
    .opacity-0-styling {
        margin-right: 0px;
    }
    .tagline-h1 {
        font-size: 82px;
        line-height: 92px;
        height: 92px;
    }
    .tagline-svg {
        bottom: 132px;
        margin-right: 108px;
    }
    .tagline-svg-zvezdochka {
        margin-left: 143px;
        width: 75px;
        height: 75px;
    }
    .tagline-svg-zavitushka {
        margin-top: -31px;
        width: 146px;
        height: 153px;
    }
    .tagline-text-and-svg {
        height: 380px;
    }
    .pre-tagline {
        height: 470px;
    }
}

@media (max-width: 1024px) {
    .tagline-h1 {
        font-size: 62px;
        line-height: 72px;
        height: 72px;
        text-align: center;
        width: 100%;
        padding-left: 0px;
    }
    .tagline-svg {
        bottom: -30px;
        margin-right: 50%;
        transform: translateX(60%);
    }
    .tagline-svg-zvezdochka {
        margin-left: 123px;
        width: 60px;
        height: 60px;
    }
    .tagline-svg-zavitushka {
        margin-top: -24px;
        width: 127px;
        height: 129px;
    }
    .tagline-social-buttons {
        margin-right: 54px;
    }
}

@media (max-width: 745px) {
    .tagline-svg-zvezdochka {
        margin-left: 92px;
        width: 50px;
        height: 50px;
    }
    .tagline-svg-zavitushka {
        margin-top: -18px;
        width: 98px;
        height: 112px;
    }
}

@media (max-width: 744px) {
    .tagline-h1 {
        font-size: 46px;
        line-height: 53px;
        height: 53px;
    }
    .tagline-svg {
        position: inherit;
        bottom: -13px;
        margin-right: 30px;
        transform: none;
    }
    .tagline-svg-zavitushka {
        margin-top: 2px;
        width: 88px;
        height: 92px;
    }
    .tagline-svg-zvezdochka {
        margin-left: 93px;
        width: 52px;
        height: 52px;
    }
    .tagline-social-buttons {
        display: none;
    }
    .tagline-text-and-svg {
        height: 350px;
    }
    .pre-tagline {
        height: 350px;
    }
    .tagline {
        height: 414px;
        border-radius: 0 0 0 132px;
        padding-top: 46px;
    }
    .tagline-svg-zvezdochka-mobile-menu {
        position: absolute;
        top: 170px;
        right: 21px;
        width: 50px;
        height: 50px;    
    }
}

@media (max-width: 539px) {
    .tagline {
        height: 360px;
    }
    .pre-tagline {
        height: 250px;
    }
    .tagline-text-and-svg {
        height: 250px;
    }
    .tagline-h1 {
        font-size: 38px;
        line-height: 46px;
        height: 46px;
    }
    .tagline-svg {
        bottom: -23px;
    }
    .tagline-svg-zvezdochka {
        margin-left: 73px;
        width: 40px;
        height: 40px;
    }
    .tagline-svg-zavitushka {
        margin-top: 2px;
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 429px) {
    .tagline-h1 {
        font-size: 30px;
        line-height: 36px;
        height: 36px;
    }    
    .tagline {
        height: 295px;
    }
    .tagline-svg {
        bottom: -7px;
    }
}
